package org.bing.engine.console.service;

import java.util.List;

import org.bing.engine.core.domain.Container;
import org.bing.engine.core.domain.Controller;
import org.bing.engine.core.domain.InstanceConfig;

public class ContainerManager extends AbstractHibernateManager {

    public void start(Controller controller, InstanceConfig cfg) {

    }

    @SuppressWarnings("unchecked")
    public List<Container> findAll() {
        return template.find("select t from Container t");
    }

    public void save(Container container) {
        template.save(container);
    }
}
